package com.zh.juc.thread;

/**
 * @Author: zhanghuan
 * @date: 2022/10/6 13:44
 * @description: create it
 */
public class ThreadBaseDemo {
    public static void main(String[] args) {
        Thread t1 = new Thread(() -> {
        }, "t1");
        t1.start();

        Object o = new Object();
        new Thread(() -> {
            synchronized (o) {

            }
        }, "t2");
    }
}